# define _CRT_SECURE_NO_WARNINGS
#include"seqlist.h"

void Init_Seqlist(SL* sql)
{
	assert(sql);
	SL* pc = (SL*)calloc(DEFAULT_CAP, sizeof(SLDatatype));
	if (pc == NULL)
	{
		perror("Init_Seqlist");
		return;
	}
	sql->a = pc;
	sql->sz = 0;
	sql->capacity = DEFAULT_CAP; 
}
